export interface ResponseData {
    code: number;
    message: string;
    ok: boolean;
}
export interface CategoryObj {
    id: number | string;
    name: string;
    Category1Id?: number;
    Category2Id?: number;
}
// 分类接口返回的数据类型
export interface CategoryResponseData extends ResponseData {
    data: CategoryObj[];
}
// 已有值对象的ts 类型
export interface AttrItem {
    id?: number;
    valueName: string;
    attrId?: number;
    look: boolean;
}
// 每一个属性值的 ts 类型
export type AttrValueList = AttrItem[];
// 属性对象的ts类型
export interface Attr {
    id?: number;
    attrName: string;
    categoryId: number | string;
    categoryLevel: number;
    attrValueList: AttrValueList;
}
// 存储每一个属性对象的数组 ts 类型
export type AttrList = Attr[];
export interface AttrResponseData extends ResponseData {
    data: Attr[];
}
